'use strict';

exports.main = async (event, context) => {
	const db = uniCloud.database();
	const table =await db.collection("task").where({employerId:event.userid}).get();
	//返回数据给客户端
	return table
};